import Vue from 'vue'
import VueRouter from 'vue-router'
import Product from "@/views/Product";

Vue.use(VueRouter)

const routes = [
  {path:'',component:Product},
  {path:'/login',component: ()=>import('../views/Login')},
  {path:'/product',component: ()=>import('../views/Product')},
  {path:'/cart',component: ()=>import('../views/Cart')}
]

const router = new VueRouter({
  routes
})

export default router
